Skip to content

Instantly share code, notes, and snippets.

@mzaman
mzaman / AgentRouter.md
Last active September 23, 2026 04:04
AgentRouter: The Definitive Developer Guide

AgentRouter: The Definitive Developer Guide

Unified LLM API Gateway · $200 Free Credits · Zero Subscription Lock-in

TL;DR — AgentRouter is a non-profit, OpenAI-compatible API gateway that aggregates Claude, GPT, Gemini, DeepSeek, and 30+ other models behind a single endpoint. New users get $200 in free credits via referral — no credit card required. Ideal for developers who want model flexibility without juggling five subscriptions.

👉 Claim Your $200 Free Credits → agentrouter.org/register?aff=DWBb


Table of Contents

@drillan
drillan / jev-finance-projects.md
Created September 20, 2026 02:27
Jev (TypeSafe System One) finance & trading projects — surveyed 2026-09-20

Jev (TypeSafe System One) — Finance & Trading Projects

Projects using Jev, TypeSafe AI's System One decision model (released 2026-09-15), in investment, trading, and financial-data contexts. Surveyed 2026-09-20 via GitHub API and community awesome-lists.

Reference project

  • jarrodwatts/jev-trader (★1.3k, 2026-09-16) — One AI trade decision every Monad block (~300 ms). Jev reads the Kuru MON-USDC order book and answers buy or sell; the bot posts a post-only limit order one tick inside the touch, earning the spread. Bun/TypeScript, dry-run mode, SSE dashboard. The template most projects below derive from.

Live trading / trading systems

@karpathy
karpathy / microgpt.py
Last active September 23, 2026 03:59
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@lanserxt
lanserxt / SupCharts.swift
Created September 16, 2026 19:58
SwiftUI Charts: Dynamic Masking Example
//
// SupCharts.swift
// WWDC25Demo
//
// Created by Anton Gubarenko on 31.08.2026.
//
import Charts
import SwiftUI
export const gpt_functions_param_jobs_fetching = [
{
name: "process_job_data",
description: "Process job data and extract core fields for a scraper.",
parameters: {
type: "object",
additionalProperties: false,
properties: {
// Company
company_name: {
@RedForty
RedForty / select_constraint_source.py
Last active September 23, 2026 03:52
Select Source of Constrained Object
# Select source of selected constrained object
from maya import cmds
selection = cmds.ls(sl=1)
new_selection = []
for item in selection:
constraint = cmds.listConnections( item + '.parentInverseMatrix[0]', destination=1, source=0, type='constraint')
if constraint:
src = cmds.listConnections(constraint[0] + '.target[0].targetParentMatrix', destination=0, source=1)
if src:
ILOUIJJCASV
@lelinhtinh
lelinhtinh / type-vietnamese-on-ubuntu.md
Last active September 23, 2026 03:47
Gõ Tiếng Việt trong Ubuntu

Gõ Tiếng Việt trong Linux

Ghi chú cách dùng IBus Bamboo để gõ Tiếng Việt mà không bị lỗi gạch chân như các bộ gõ khác.

Cài đặt

sudo add-apt-repository ppa:bamboo-engine/ibus-bamboo
sudo apt-get update
sudo apt-get install ibus ibus-bamboo --install-recommends

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@rohitg00
rohitg00 / llm-wiki.md
Last active September 23, 2026 03:44 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 20K+ Stars ⭐️, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.